<template>
	<div class="drug-category">
		<fs-page>
			<fs-crud ref="crudRef" v-bind="crudBinding"> </fs-crud>
		</fs-page>
	</div>
</template>

<script setup lang="ts">
import {  onMounted, ref } from 'vue';
import { createCrudOptions } from './crud';
import { useFs } from '@fast-crud/fast-crud';


defineOptions({
	name: 'DrugCategory',
});

const RoleUserRef = ref();

const { crudBinding, crudRef, crudExpose } = useFs({ createCrudOptions,});

// 页面打开后获取列表数据
onMounted(() => {
	crudExpose.doRefresh();
});
</script>

<style lang="scss" scoped></style>
